package com.handytoo.cow_core.network.Config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * 自定义网络模块代码
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "core.handler")
public class HandlerAdapterConfig {
    private int poolSize = 8;
    private String name = "business";
    private int queueTimeout = 0;
    private int exeTimeout = 0;
    private boolean execStack = false;
    private String namePrefix = "business";
    private int timeout = 1;
    private int execTimeout = 100;
    private boolean outputStack = false;

    public HandlerAdapterConfig() {
    }
}
